package gae.colopl.bean;

import java.io.Serializable;

public class SetWarehouseItem implements Serializable {
    
    /**
     * 
     */
    private static final long serialVersionUID = 1076967687782306483L;

    private boolean success;
    
    private int price;
    
    private String comment;
    
    private int autoID;
    
    private int priority;
    
    private String reason;

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public int getAutoID() {
        return autoID;
    }

    public void setAutoID(int autoID) {
        this.autoID = autoID;
    }

    public int getPriority() {
        return priority;
    }

    public void setPriority(int priority) {
        this.priority = priority;
    }

    public void setResult(boolean result) {
        this.success = result;
    }

    public boolean isSuccess() {
        return success;
    }

    @Override
    public String toString() {
        return "SetWarehouseItem [success=" + success + ", price=" + price
                + ", comment=" + comment + ", autoID=" + autoID + ", priority="
                + priority + "]";
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }
    
}
